
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<!DOCTYPE html>
<html>
    <head>
        <link href="<c:url value='/css/bootstrap-responsive.min.css'/>" rel="stylesheet" type="text/css"/>
        <link href="<c:url value='/css/bootstrap.min.css'/>" rel="stylesheet" type="text/css"/>
        <link href="<c:url value='/css/main.css'/>" rel="stylesheet" type="text/css"/>
        <title>Login</title>
         <script src="js/jquery.js"></script>
    <script src="js/jquery.cookie.js"></script>
    <script src="js/coms.js"></script>
    </head>
    <body>
            <s:include value="/jsp/header.jsp"/>
           <div class="container-fluid">
                <div class="row-fluid">
                    <div class="span3">
                        <s:include value="/jsp/menu.jsp"/>
                    </div>
                    <div class="span9">
                            <legend>Login</legend>
                            <s:actionerror/>
                            <s:form action="authenticate">
                                <table width="450" >
                                    <tr> 
                                        <td><s:text name="fieldLabel.username"/></td>
                                        <td ><s:textfield name="user.username" size="40" maxlength="40"/>

                                        </td>
                                    </tr>
                                    <tr>
                                        <td> &nbsp; </td>
                                        <td> &nbsp; </td>
                                    </tr>
                                    <tr>
                                        <td><s:text name="fieldLabel.password"/></td>
                                        <td ><s:password name="user.password" size="40" maxlength="40"/>

                                        </td>
                                    </tr>
                                    <tr>
                                        <td> &nbsp; </td>
                                        <td> &nbsp; </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" align="center">
                                            <s:submit label="button.label.login" align="middle" />
                                            &nbsp;&nbsp;&nbsp;
                                            <s:reset label="button.label.reset"  align="middle" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td> &nbsp; </td>
                                        <td> &nbsp; </td>
                                    </tr>
                                </table>
                            </s:form>
                    </div>
                </div>
           </div>
        <s:include value="/jsp/footer.jsp"/>
</body>
</html>